package com.ruoyi.schoolSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程安排对象 course_class
 * 
 * @author ruoyi
 * @date 2024-02-19
 */
public class CourseClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classId;

    /** 周几的课 */
    @Excel(name = "周几的课")
    private String weekNum;

    /** 第几节课 */
    @Excel(name = "第几节课")
    private String classNum;

    /**
     * 周次数字体现
     */
    private Integer weekNumFigure;
    /**
     * 节次数字体现
     */
    private Integer classNumFigure;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setWeekNum(String weekNum)
    {
        this.weekNum = weekNum;
    }

    public String getWeekNum()
    {
        return weekNum;
    }
    public void setClassNum(String classNum)
    {
        this.classNum = classNum;
    }

    public String getClassNum()
    {
        return classNum;
    }

    public Integer getWeekNumFigure() {
        return weekNumFigure;
    }

    public void setWeekNumFigure(Integer weekNumFigure) {
        this.weekNumFigure = weekNumFigure;
    }

    public Integer getClassNumFigure() {
        return classNumFigure;
    }

    public void setClassNumFigure(Integer classNumFigure) {
        this.classNumFigure = classNumFigure;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("classId", getClassId())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("weekNum", getWeekNum())
            .append("classNum", getClassNum())
            .toString();
    }
}
